package com.brainhealth.customer.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.brainhealth.common.annotation.Excel;
import com.brainhealth.common.core.domain.BaseEntity;

/**
 * 用户订单埋点结果对象 sys_user_order_buried_point_result
 * 
 * @author ruoyi
 * @date 2023-08-05
 */
public class SysUserOrderBuriedPointResult extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户订单埋点结果表主键 */
    private Long id;

    /** 会员编号 */
    @Excel(name = "会员编号")
    private Long customerId;

    /** 用户名称 */
    @Excel(name = "用户名称")
    private String customerName;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String phone;

    /** 机构编号 */
    @Excel(name = "机构编号")
    private String orgNo;

    /** 机构名称 */
    @Excel(name = "机构名称")
    private String orgName;

    /** 年龄 */
    @Excel(name = "年龄")
    private Long age;

    /** 性别 */
    @Excel(name = "性别")
    private Long sex;

    /** 状态(5训练中 6已完成) */
    @Excel(name = "状态(5训练中 6已完成)")
    private Integer status;

    /** 在线时长（单位:秒） */
    @Excel(name = "在线时长", readConverterExp = "单=位:秒")
    private Long onlineTime;

    /** 在线天数 */
    @Excel(name = "在线天数")
    private Long onlineDays;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCustomerId(Long customerId) 
    {
        this.customerId = customerId;
    }

    public Long getCustomerId() 
    {
        return customerId;
    }
    public void setCustomerName(String customerName) 
    {
        this.customerName = customerName;
    }

    public String getCustomerName() 
    {
        return customerName;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setOrgNo(String orgNo) 
    {
        this.orgNo = orgNo;
    }

    public String getOrgNo() 
    {
        return orgNo;
    }
    public void setOrgName(String orgName) 
    {
        this.orgName = orgName;
    }

    public String getOrgName() 
    {
        return orgName;
    }
    public void setAge(Long age) 
    {
        this.age = age;
    }

    public Long getAge() 
    {
        return age;
    }
    public void setSex(Long sex) 
    {
        this.sex = sex;
    }

    public Long getSex() 
    {
        return sex;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setOnlineTime(Long onlineTime) 
    {
        this.onlineTime = onlineTime;
    }

    public Long getOnlineTime() 
    {
        return onlineTime;
    }
    public void setOnlineDays(Long onlineDays) 
    {
        this.onlineDays = onlineDays;
    }

    public Long getOnlineDays() 
    {
        return onlineDays;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("customerId", getCustomerId())
            .append("customerName", getCustomerName())
            .append("phone", getPhone())
            .append("orgNo", getOrgNo())
            .append("orgName", getOrgName())
            .append("age", getAge())
            .append("sex", getSex())
            .append("status", getStatus())
            .append("onlineTime", getOnlineTime())
            .append("onlineDays", getOnlineDays())
            .append("createTime", getCreateTime())
            .toString();
    }
}
